home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 44
/
Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso
/
-serious-
/
wb
/
merlin
/
rexx
/
domail.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1999-07-12
|
420b
|
29 lines
/* Launch YAM (if not running) and receive and send msgs */
options results
signal on break_c
/* run YAM */
if ~show( ports, "YAM") then do
say "Launching Yam..."
address command 'run <>nil:' 'YAM:YAM'
address command 'waitforport YAM'
end
/* get mail */
say " + Getting mail..."
address YAM
mailcheck
/* send mail */
say " + sending all queued mail..."
setfolder 1
mailsendall
setfolder 0
exit